package felix.things.router.modbus.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Felix
 * @date 2019/10/31
 **/
@Data
@Component
@ConfigurationProperties(prefix = "modbus", ignoreInvalidFields = true)
public class ModBusConfig {
    private boolean enable = false;
    private int maxRequestSize = 100;
}
